package com.test.service;

import com.test.mapper.DemoMapper;
import com.test.pojo.Demo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DemoServiceImp implements DemoService {

    @Resource
    private DemoMapper demoMapper;


    @Override
    public List<Demo> findAllDemo() {
        return demoMapper.findAllDemo();
    }
}
